<?php
return array(
    'URL_ROUTE_RULES' => array(
        //-------------------用户
        array('User/:id\d', 'User/read', 'status=1', array('ext' => 'json', 'method' => 'get')),
        array('User/:id\d', 'User/update', '', array('ext' => 'json', 'method' => 'put')),
        array('User/:id\d', 'User/delete', '', array('ext' => 'json', 'method' => 'delete')),
        array('User', 'User/lists', '', array('ext' => 'json', 'method' => 'get')),
        array('User', 'User/create', '', array('ext' => 'json', 'method' => 'post')),
    )
);